package com.example.demo.pojo.test;

import com.example.demo.pojo.annotation.excel.ExcelColumn;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.*;
import java.math.BigDecimal;

/**
 * @author tds
 * @date 2021/11/12 14:48
 * @Desc webservice电子教学日志接口request
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "root")
public class WsJGClassrecordReq {

    /**
     * 序号
     */
    @ExcelColumn(name = "序号")
    @XmlTransient
    private String rownum;

    /**
     * xml字符串
     */
    @ExcelColumn(name = "xml字符串")
    @XmlTransient
    private String xmlStr;

    /**
     * 电子教学日志id
     */
    @XmlTransient
    private String classid;



    /**
     * 电子教学日志id，取的是怡陆那边h5传来的流水号
     */
    @XmlElement(name = "BOSID")
    @ExcelColumn(name = "BOSID")
    private String bosId;

    /**
     * 学员编号（学员统一编号）
     */
    @XmlElement(name = "STUDENTCODE")
    @ExcelColumn(name = "STUDENTCODE")
    private String stunum;

    /**
     * 教练编号（教练员统一编号）
     */
    @XmlElement(name = "COACHCODE")
    @ExcelColumn(name = "COACHCODE")
    private String coachnum;

    /**
     * 学校编号（教练员统一编号）
     */
    @XmlElement(name = "SCHOOLCODE")
    @ExcelColumn(name = "SCHOOLCODE")
    private String inscode;

    /**
     * 训练开始时间
     */
    @XmlElement(name = "STARTTIME")
    @ExcelColumn(name = "STARTTIME")
    private String starttime;

    /**
     * 训练结束时间
     */
    @XmlElement(name = "ENDTIME")
    @ExcelColumn(name = "ENDTIME")
    private String endtime;

    /**
     * 训练时长（单位:分钟）
     */
    @XmlElement(name = "TOTALTIME")
    @ExcelColumn(name = "TOTALTIME")
    private String duration;

    /**
     * 训练里程（单位:米）
     */
    @XmlElement(name = "TOATLTENOR")
    @ExcelColumn(name = "TOATLTENOR")
    private String mileage;

    /**
     * 训练单价(单位:分)
     */
    @XmlElement(name = "PERPRICE")
    @ExcelColumn(name = "PERPRICE")
    private String perPrice;


    /**
     * 训练金额(单位:分)
     */
    @XmlElement(name = "TOTALMONEY")
    @ExcelColumn(name = "TOTALMONEY")
    private String totalMoney;


    /**
     * 培训科目（km01-科目一理论，km05-科目四理论）
     */
    @XmlElement(name = "TRAINCODE")
    @ExcelColumn(name = "TRAINCODE")
    private String trainCode;


    /**
     * 管理科目  主指：km01-科目一理论，km05-科目四理论
     */
    @XmlElement(name = "EXAMCODE")
    @ExcelColumn(name = "EXAMCODE")
    private String examCode;

    /**
     * 学员卡编号
     */
    @XmlElement(name = "STUCARDCODE")
    @ExcelColumn(name = "STUCARDCODE")
    private String stuCardCode;

    /**
     * 教练卡编号
     */
    @XmlElement(name = "COACARDCODE")
    @ExcelColumn(name = "COACARDCODE")
    private String coaCardCode;

    /**
     * 训练POS机
     */
    @XmlElement(name = "POSCODE")
    @ExcelColumn(name = "POSCODE")
    private String posCode;

    /**
     * 训练车牌号
     */
    @XmlElement(name = "CARNUM")
    @ExcelColumn(name = "CARNUM")
    private String carNum;

    /**
     * 读取源 0：管理员KEY 1：学员卡 2：POS机 3:人工采集 4: 门户  5:老系统   6:人工追加  7:电动车 8:GPS 9：其他
     */
    @XmlElement(name = "READTYPE")
    @ExcelColumn(name = "READTYPE")
    private String readType;

    /**
     * 是否有效  0：否；1：是
     */
    @XmlElement(name = "ISVALID")
    @ExcelColumn(name = "ISVALID")
    private String isValid;


    /**
     * 学员签到是否验证指纹  0：否；1：是
     */
    @XmlElement(name = "ISCHECKED")
    @ExcelColumn(name = "ISCHECKED")
    private String isChecked;

    /**
     * 教练员签到是否验证指纹  0：否；1：是
     */
    @XmlElement(name = "ISCOACHECKED")
    @ExcelColumn(name = "ISCOACHECKED")
    private String isCoaChecked;

    /**
     * 是否强制签退  0：否；1：是
     */
    @XmlElement(name = "ISFORCED")
    @ExcelColumn(name = "ISFORCED")
    private String isForced;

    /**
     * 强制签退时间
     */
    @XmlElement(name = "FORCEDTIME")
    @ExcelColumn(name = "FORCEDTIME")
    private String forcedTime;

    /**
     * 学员是否确认  0：否；1：是
     */
    @XmlElement(name = "ISCONFIRM")
    @ExcelColumn(name = "ISCONFIRM")
    private String isConfirm;


    /**
     * 确认时间
     */
    @XmlElement(name = "CONFIRMTIME")
    @ExcelColumn(name = "CONFIRMTIME")
    private String confirmTime;

    /**
     * 采集人员
     */
    @XmlElement(name = "COLLECTOR")
    @ExcelColumn(name = "COLLECTOR")
    private String collector;

    /**
     * 采集时间
     */
    @XmlElement(name = "COLLECTIME")
    @ExcelColumn(name = "COLLECTIME")
    private String collectime;

    /**
     * 数据来源 0：采集  1：迁移（来自老系统） 2：人工追加
     */
    @XmlElement(name = "SOURCE")
    @ExcelColumn(name = "SOURCE")
    private String source;

    /**
     * 结算标志 0：未结算；1：已结算
     */
    @XmlElement(name = "ACCOUNTFLAG")
    @ExcelColumn(name = "ACCOUNTFLAG")
    private String accountFlag;

    /**
     * 训练的时段,4位字符,如：8点到10点训练---0810
     */
    @XmlElement(name = "ACCOUNTIME")
    @ExcelColumn(name = "ACCOUNTIME")
    private String accounTime;

    /**
     * 标志位
     */
    @XmlElement(name = "UWREMARK")
    @ExcelColumn(name = "UWREMARK")
    private String uwRemark;

    /**
     * 学员补卡次数
     */
    @XmlElement(name = "REISSUECNT")
    @ExcelColumn(name = "REISSUECNT")
    private String reIssueCnt;

    /**
     * 训练区域类型和次数(格式:qylx17,1;qylx18,0;qylx19,1;qylx20,0;qylx21,0;)
     */
    @XmlElement(name = "TRAINTYPECOUNT")
    @ExcelColumn(name = "TRAINTYPECOUNT")
    private String trainTypeCount;

    /**
     * 停驶次数
     */
    @XmlElement(name = "STOPTIMES")
    @ExcelColumn(name = "STOPTIMES")
    private String stopTimes;

    /**
     * 导入时间20150828071302
     */
    @XmlElement(name = "OPERTIME")
    @ExcelColumn(name = "OPERTIME")
    private String operTime;


    /**
     * 入库时间(格式:2020-01-01 00:00:00)
     */
    @XmlElement(name = "DATABASETIME")
    @ExcelColumn(name = "DATABASETIME")
    private String databasetime;

    /**
     * 数据来源IP
     */
    @XmlElement(name = "IP")
    @ExcelColumn(name = "IP")
    private String ip;

    /**
     * 学员签到是否验证人脸 0：否；1：是
     */
    @XmlElement(name = "PUPILFACE")
    @ExcelColumn(name = "PUPILFACE")
    private String pupilFace;

    /**
     * 教练签到是否验证人脸 0：否；1：是
     */
    @XmlElement(name = "COACHFACE")
    @ExcelColumn(name = "COACHFACE")
    private String coachFace;

    /**
     * 训练过程中照片数量 默认0
     */
    @XmlElement(name = "TRAINPHOTO")
    @ExcelColumn(name = "TRAINPHOTO")
    private String trainPhoto;

    /**
     * 学员签退是否验证指纹  0：否；1：是
     */
    @XmlElement(name = "ISCHECKEDOUT")
    @ExcelColumn(name = "ISCHECKEDOUT")
    private String isCheckedOut;


    /**
     * 教练员签退是否验证指纹  0：否；1：是
     */
    @XmlElement(name = "ISCOACHECKEDOUT")
    @ExcelColumn(name = "ISCOACHECKEDOUT")
    private String isCoaCheckedOut;

    /**
     * 学员签退是否验证人脸 0：否；1：是
     */
    @XmlElement(name = "PUPILFACEOUT")
    @ExcelColumn(name = "PUPILFACEOUT")
    private String pupilFaceOut;

    /**
     * 教练签退是否验证人脸 0：否；1：是
     */
    @XmlElement(name = "COACHFACEOUT")
    @ExcelColumn(name = "COACHFACEOUT")
    private String coachFaceOut;

    /**
     * 理论供应商编号
     */
    @XmlElement(name = "CONNUSER")
    @ExcelColumn(name = "CONNUSER")
    private String connUser;

    /**
     * 密码
     */
    @XmlElement(name = "CONNMIMA")
    @ExcelColumn(name = "CONNMIMA")
    private String connMiMa;

    /**
     * 提示信息
     */
    @ExcelColumn(name = "提示信息")
    @XmlTransient
    private String tip;
}
